<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Sip设置</title>
  <link type="text/css" href="/css/style.css" rel="stylesheet">
  <script type="text/javascript" src="/js/script.js"></script>
  <script type="text/javascript">
    window.onload = function () {
      getSipConfigInfo();
    }
  </script>
</head>

<body>
  <div style="padding: 20px; padding-top: 10px;">
    <form name="appconfigform" action="/cgi-bin/htmlrequest.cgi" method="post">
      <input class="hide" name="HtmlName" value="sipconfig"></input>
      <div class="item title"><span>SIP账户</span></div>
      <div style="height: 30px">
        <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">账户</span>
        <span><input id="SipAccount" name="setSipAccount" type="text" style="width: 200px;" maxlength="32"></span>
      </div>
      <div style="height: 30px">
        <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">密码</span>
        <span><input id="SipPasswd" name="setSipPasswd" type="text" style="width: 200px;" maxlength="32"></span>
      </div>
      <div style="height: 30px">
        <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">服务器地址</span>
        <span><input id="SipServerIP" name="setSipServerIP" type="text" style="width: 200px;" maxlength="32"></span>
      </div>
      <div style="height: 30px">
        <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">端口</span>
        <span><input id="SipServerPort" name="setSipServerPort" type=" text" style="width: 200px;"
            maxlength="32"></span>
      </div>
      <div style="height: 10px"></div>

      <div class="item title"><span>SIP其它设置</span></div>
      <div class="item">
        <input id="SipEnable" name="setSipEnable" type="checkbox" class="item checkbox">
        <label>启用Sip协议</label>
      </div>
  </div>

  <div style="height: 10px"></div>
  <button class="btn btn-primary btn-save" type="button" onclick="if(confirm('是否确认修改SIP参数?')) {submit();}">
    <span class="img">&nbsp;</span>
    <span>保存</span>
  </button>
  </form>
  </div>
</body>

</html>